package com.hghivln.erpwarehouse.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hghivln
 * @since 2021-07-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("bus_goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String goodsname;

    private Integer providerid;

    @TableField(exist = false)
    private String providername;

    private String produceplace;

    /**
     * 规格
     */
    private String size;

    /**
     * 包装
     */
    private String goodspackage;

    /**
     * 生产批号
     */
    private String productcode;

    /**
     * 批准文号
     */
    private String promitcode;

    private String description;

    private Double price;

    /**
     * 库存数量
     */
    private Integer number;

    /**
     * 预警库存
     */
    private Integer dangernum;

    private String goodsimg;

    private Integer available;


}
